<%@ page import="com.ace3l.legal.Constants" %>
<%@ page import="com.ace3l.legal.backend.domain.User" %>
<html>
<head>
    <title>Create New Project</title>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/css/ace3l.css">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/js/extjs/resources/css/ext-all.css">
<script type="text/javascript">
    document.userinfo = new function() {
        <% if (session.getAttribute(Constants.ISAUTH) != null)  {%>
        this.isAuth = "<%= session.getAttribute(Constants.ISAUTH)%>";
        <%} if (session.getAttribute(Constants.USERPROFILE) != null) {%>
        this.userId = <%= ((User)session.getAttribute(Constants.USERPROFILE)).getId()%>;
        <%} if (session.getAttribute(Constants.USERROLE) != null) {%>
        this.userRole = "<%= session.getAttribute(Constants.USERROLE)%>";
        <%}%>

        this.sessionId = "<%= session.getId()%>";
        this.sessionCreate = <%=session.getCreationTime()%>;
    };
</script>
</head>
<body>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/extjs/adapter/ext/ext-base.js"
        language="javascript"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/extjs/ext-all.js"
        language="javascript"></script>
<!-- js -->
<script type="text/javascript" language="javascript"
        src="com.ace3l.legal.gwt.lawfirmportal.createproject.CreateProject.nocache.js"></script>


</body>
</html>
